package com.human.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.human.entity.Emptrain;
import com.baomidou.mybatisplus.extension.service.IService;
import com.human.entity.ResultVo;

/**
 * <p>
 * 员工培训 服务类
 * </p>
 *
 * @author jzq
 * @since 2023-03-09
 */
public interface IEmptrainService extends IService<Emptrain> {

    ResultVo<Page> page(int current, int pageSize, String name);

    ResultVo getEmptrainById(Integer id);

    ResultVo getAllEmptrains();

    ResultVo addEmptrain(Emptrain emptrain);

    ResultVo updateEmptrain(Emptrain emptrain);

    ResultVo deleteEmptrainById(Integer id);

}
